Carbon


KCGetStatus

Header: Keychain.h Carbon status: Under Evaluation

Determines the permissions that are set in a keychain.

OSStatus KCGetStatus (
    KCRef keychain, 
    UInt32 *keychainStatus
);
Parameter descriptions
keychain

A pointer to the keychain reference whose permissions you wish to determine. Pass NULL to obtain the status of the default keychain.

keychainStatus

On return, a pointer to a bitmask that you can test to determine the permissions that are set in a keychain. See “Keychain Status Mask Constants” for a description of this mask.

function result

A result code. The result code errKCNoSuchKeychain indicates that the specified keychain could not be found. The result code errKCInvalidKeychain indicates that the specified keychain is invalid.

VERSION NOTES

Available beginning with Keychain Manager 1.0.


© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)